package org.lc.stk.web.dto.major;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "专业查询参数")
public class MajorQuery {

    @Schema(description = "专业名称")
    private String name;

    @Schema(description = "专业编码")
    private String code;

    @Schema(description = "是否启用")
    private Boolean enabled;

    @Schema(defaultValue = "orderNum", description = "排序字段")
    private String sortBy = "orderNum";

    @Schema(defaultValue = "asc", description = "排序方向 (asc/desc)")
    private String sortDirection = "asc";

    // Getters and Setters
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getSortBy() {
        return sortBy;
    }

    public void setSortBy(String sortBy) {
        this.sortBy = sortBy;
    }

    public String getSortDirection() {
        return sortDirection;
    }

    public void setSortDirection(String sortDirection) {
        this.sortDirection = sortDirection;
    }
}